package com.shycloud.mido.music.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 自制曲集
 * @author nianhua.jiang
 */
@Data
@TableName(value = "mis_my_collection")
public class MisMyCollection {

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户ID
	 */
	@TableField(value = "member_id")
	private String memberId;

	/**
	 * 自制曲集名
	 */
	@TableField(value = "name")
	private String name;

	/** 简介 */
	@TableField(value = "introduction")
	private String introduction;

	/** 图片路径 */
	@TableField(value = "img")
	private String img;

	/**
	 * 创建人
	 */
	@TableField(value = "create_user")
	private String createUser;

	/**
	 * 创建时间
	 */
	@TableField(value = "create_time")
	private Date createTime;

	/**
	 * 更新人
	 */
	@TableField(value = "update_user")
	private String updateUser;

	/**
	 * 更新日期
	 */
	@TableField(value = "update_time")
	private Date updateTime;

	/**
	 * 逻辑删除（0：未删除，1：已删除）
	 */
	@TableField(value = "del_flag")
	private String delFlag;

	public static final String COL_ID = "id";

	public static final String COL_MEMBER_ID = "member_id";

	public static final String COL_NAME = "name";

	public static final String COL_IMG = "img";

	public static final String COL_INTRODUCTION = "introduction";

	public static final String COL_CREATE_USER = "create_user";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_UPDATE_USER = "update_user";

	public static final String COL_UPDATE_TIME = "update_time";

	public static final String COL_DEL_FLAG = "del_flag";
}